{% extends "base.html" %}

{% block titulo %}Pagina de inicio(prueba){% endblock %}

{%block style%}<link rel="stylesheet" type="text/css" href="/stylesheets/homeStyle.css" />{%endblock%}

{% block cuerpo %}
<h1>Editar mi perfil</h1>

     <form enctype="multipart/form-data" action="." method="post">
         {%include "forms/form_snippet.html"%}
         <label for="foto">Foto actual:</label>
             {%if user.teacher%}
             <img src="{{user.teacher.avatar.path}}" width="{{avatarBig.0}}" height="{{avatarBig.1}}"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             <img src="{{user.teacher.avatar.path}}"width="{{avatarMed.0}}" height="{{avatarMed.1}}"/>
             {%endif%}
             {%if user.student%}
             <img src="{{user.student.avatar.path}}" width="{{avatarBig.0}}" height="{{avatarBig.1}}"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             <img src="{{user.student.avatar.path}}"width="{{avatarMed.0}}" height="{{avatarMed.1}}"/>
             {%endif%}
     </form>
{% endblock %}